<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Skiyo 后台管理工作平台 by Jessica</title>
		<link rel="stylesheet" type="text/css" href="admin/css/style.css" />
		<script type="text/javascript" src="admin/js/js.js"></script>
		<link rel="stylesheet" type="text/css" href="page/admin/css/style.css"/>
       <script type="text/javascript" src="page/admin/js/js.js"></script>
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript">
  	function changeValidateCode(obj){
  		var timeNow = new Date().getTime();
  		obj.src="checkCode.do?method=service.do="+timeNow;
  	}	
  </script>
	</head>

<body>
<div id="top"> </div>
<form id="login" name="login" action="main.php" method="post">
  <div id="center">
    <div id="center_left"></div>
    <div id="center_middle">
      <div class="user">
        <label>用户名：
        <input type="text" name="user" id="user" />
        </label>
      </div>
      <div class="user">
        <label>密　码：
        <input type="password" name="pwd" id="pwd" />
        </label>
      </div>
      <div class="chknumber">
        <label>验证码：
        <input name="chknumber" type="text" id="chknumber" maxlength="4" class="chknumber_input" />
        </label>
     <img  src= "checkCode.do?method=service.do" onclick="changeValidateCode(this)" title="刷新验证码" style="cursor: hand;" />
      </div>
    </div>
    <div id="center_middle_right"></div>
    <div id="center_submit">
      <div class="button"> <img src="page/admin/images/dl.gif" width="57" height="20" onclick="form_submit()" > </div>
      <div class="button"> <img src="page/admin/images/cz.gif" width="57" height="20" onclick="form_reset()"> </div>
    </div>
    <div id="center_right"></div>
  </div>
</form>
<div id="footer"></div>
</body>
<script type="text/javascript">
  	function changeValidateCode(obj){
  		var timeNow = new Date().getTime();
  		obj.src="checkCode.do?method=service.do="+timeNow;
  	}	
</script>
</html>

